home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / ARCH-VNC / IRQS.H < prev    next >
Text File  |  1999-09-17  |  2KB  |  68 lines

  1. /*
  2.  * linux/include/asm-arm/arch-vnc/irqs.h
  3.  *
  4.  * Copyright (C) 1998 Russell King
  5.  */
  6.  
  7. #define NR_IRQS            32
  8.  
  9. /*
  10.  * This is a list of all interrupts that the 21285
  11.  * can generate
  12.  */
  13. #define IRQ_SOFTIRQ        1    /* from FB.1 */
  14. #define IRQ_CONRX        2    /* from FB.2 */
  15. #define IRQ_CONTX        3    /* from FB.3 */
  16. #define IRQ_TIMER0        4    /* from FB.4 */
  17. #define IRQ_TIMER1        5    /* from FB.5 */
  18. #define IRQ_TIMER2        6    /* from FB.6 */
  19. #define IRQ_WATCHDOG        7    /* from FB.7 */
  20. #define IRQ_ETHER10        8    /* from FB.8 */
  21. #define IRQ_ETHER100        9    /* from FB.9 */
  22. #define IRQ_VIDCOMP        10    /* from FB.10 */
  23. #define IRQ_EXTERN_IRQ        11    /* from FB.11: chain to IDE irq's */
  24. #define IRQ_DMA1        12    /* from future */
  25. #define IRQ_PCI_ERR        15    /* from FB.[28:31] */
  26.  
  27. #define IRQ_TIMER4        16    /* from 553.0 */
  28. #define IRQ_KEYBOARD        17    /* from 553.1 */
  29. #define IRQ_PIC_HI        18    /* from 533.2: chained to 553.[8:15] */
  30. #define IRQ_UART2        19    /* from 553.3 */
  31. #define IRQ_UART        20    /* from 553.4 */
  32. #define IRQ_MOUSE        21    /* from 553.5 */
  33. #define IRQ_UART_IR        22    /* from 553.6 */
  34. #define IRQ_PRINTER        23    /* from 553.7 */
  35. #define IRQ_RTC_ALARM        24    /* from 553.8 */
  36. #define IRQ_POWERLOW        26    /* from 553.10 */
  37. #define IRQ_VGA            27    /* from 553.11 */
  38. #define IRQ_SOUND        28    /* from 553.12 */
  39. #define IRQ_HARDDISK        30    /* from 553.14 */
  40.  
  41. /* These defines handle the translation from the above FB #defines
  42.  * into physical bits for the FootBridge IRQ registers
  43.  */
  44. #define IRQ_MASK_SOFTIRQ    0x00000002
  45. #define IRQ_MASK_UART_DEBUG    0x0000000C
  46. #define IRQ_MASK_TIMER0        0x00000010
  47. #define IRQ_MASK_TIMER1        0x00000020
  48. #define IRQ_MASK_TIMER2        0x00000040
  49. #define IRQ_MASK_WATCHDOG    0x00000080
  50. #define IRQ_MASK_ETHER10    0x00000100
  51. #define IRQ_MASK_ETHER100    0x00000200
  52. #define IRQ_MASK_VIDCOMP    0x00000400
  53. #define IRQ_MASK_EXTERN_IRQ    0x00000800
  54. #define IRQ_MASK_DMA1        0x00030000
  55. #define IRQ_MASK_PCI_ERR    0xf8800000
  56.  
  57. /*
  58.  * Now map them to the Linux interrupts
  59.  */
  60. #undef IRQ_TIMER
  61. #define IRQ_TIMER        IRQ_TIMER0
  62. #undef RTC_IRQ
  63. #define RTC_IRQ            IRQ_RTC_ALARM
  64. #undef AUX_IRQ
  65. #define AUX_IRQ            IRQ_MOUSE
  66.  
  67. #define irq_cannonicalize(i)    (i)
  68.